<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>nodom-examples css</title>
		</head>
	<body>
		<div class="view"></div> 
	</body>
	<script type='module'>
		import{Nodom,Module} from '/dist/nodom.esm.js'
		class Module1 extends Module{
			template(){
				let s = `
                    <div>
					    hello,{{name}}
                    </div>
				`;
                return s;
			}
            
			data(){
                return {
                    name:'nodom'
                }
			}

			onInit(){
				console.log(this.model)
			}
        }
    	Nodom.app(Module1,'div');
		
	</script>
</html>
